42c04f63aa3f11020aa9d5989426d278bf6a5811,telescope/src/main/java/com/mattprecious/telescope/TelescopeLayout.java,TelescopeLayout,TelescopeLayout,#Context#AttributeSet#number#,83

Before Change


    pointerCount = a.getInt(R.styleable.TelescopeLayout_pointerCount, DEFAULT_POINTER_COUNT);
    int progressColor =
        a.getColor(R.styleable.TelescopeLayout_progressColor, DEFAULT_PROGRESS_COLOR);
    screenshot = a.getBoolean(R.styleable.TelescopeLayout_screenshot, true);
    screenshotChildrenOnly =
        a.getBoolean(R.styleable.TelescopeLayout_screenshotChildrenOnly, false);
    vibrate = a.getBoolean(R.styleable.TelescopeLayout_vibrate, true);

After Change


    pointerCount = a.getInt(R.styleable.TelescopeLayout_pointerCount, DEFAULT_POINTER_COUNT);
    int progressColor =
        a.getColor(R.styleable.TelescopeLayout_progressColor, DEFAULT_PROGRESS_COLOR);
    screenshotMode = ScreenshotMode.values()[a.getInt(R.styleable.TelescopeLayout_screenshotMode,
        ScreenshotMode.SYSTEM.ordinal())];
    screenshotChildrenOnly =
        a.getBoolean(R.styleable.TelescopeLayout_screenshotChildrenOnly, false);
    vibrate = a.getBoolean(R.styleable.TelescopeLayout_vibrate, true);